package com.ruoyi.questionnaire.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 调查问卷对象 questionnaire
 * 
 * @author ruoyi
 * @date 2025-07-14
 */
public class Questionnaire extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 病种id */
    @Excel(name = "病种id")
    private Long diseaseId;

    /** 病种名称 */
    @Excel(name = "病种名称")
    private String illness;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDiseaseId(Long diseaseId) 
    {
        this.diseaseId = diseaseId;
    }

    public Long getDiseaseId() 
    {
        return diseaseId;
    }

    public void setIllness(String illness) 
    {
        this.illness = illness;
    }

    public String getIllness() 
    {
        return illness;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("diseaseId", getDiseaseId())
            .append("illness", getIllness())
            .append("content", getContent())
            .append("userId", getUserId())
            .toString();
    }
}
